package edu.hebtu.mapper;

import edu.hebtu.pojo.Appointment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//预约练习
@Mapper
@Repository
public interface IAppointmentMapper {

    //查询
    List<Appointment> findById(String id);

    //添加
    void add(Appointment object);

    //修改
    void update(Appointment object);

}
